import request from '@/utils/request'
// 验证码
export const verification = (data) => {
  return request.get('/v1_0/sms/codes/' + data)
}
// 登录
export const login = ({ mobile, code }) => {
  return request.post('/v1_0/authorizations/', {
    mobile, code
  })
}
